(ns cyberdelia.input
  (:require [clojure.string :as str])
  (:require [cyberdelia.player :as player]))

(defn parse [text]
  "return input as a :cmd and its :args"
  (as-> text t
    (str/split t #"\s+")
    {:cmd (first t) :args (rest t)}))
